package com.itheima.dto;

import com.itheima.pojo.Dish;
import com.itheima.pojo.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
    public class DishDto extends Dish {
        private List<DishFlavor> flavors=new ArrayList<>();


        private String categoryName;
        private Integer copies;
}
